<!--
 * @Author: your name
 * @Date: 2021-07-15 20:01:41
 * @LastEditTime: 2021-07-16 08:29:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \练习库e:\72-briup\briupteamproj\src\views\components\articleFrame.vue
-->

<template>
  <div class="articleframe">
    <div class="content">
      <slot name="links"></slot>
      <div class="right">
        <div class="news-head">
          <div class="head-img">
            <img src="../../../public/images/icon_02.jpg" alt="" />
          </div>
          <div class="title">学位工作</div>
        </div>
        <div class="frame">
          <fieldset class="fieldset">
            <legend class="legend">&nbsp;&nbsp;学位工作&nbsp;&nbsp;</legend>
            <div class="main">
              <div class="main-title">
                <span>工作信息</span><span>更多 >></span>
              </div>
              <div class="main-content"><slot></slot></div>
            </div>
          </fieldset>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
}
</script>
<style scoped>
.frame {
  border: 1px solid #a7d6e8;
  border-top: none;
}
/* 公共样式 */

.content {
  display: flex;
  padding-top: 10px;
}
.right {
  flex: 1;
  padding-left: 10px;
}
/* 头部样式 */

.news-head {
  background-image: linear-gradient(
    to bottom,
    rgb(255, 255, 255),
    rgb(206, 240, 249)
  );
  height: 30px;
  line-height: 30px;
  border: 1px solid rgb(139, 181, 230);
  border-radius: 5px 5px 0 0;
  position: relative;
}

.news-head .head-img {
  float: left;
  margin-left: 20px;
  margin-top: 1px;
}

.news-head .title {
  float: left;
  font-weight: 700;
  color: rgb(28, 93, 156);
  font-size: 1em;
  padding-left: 15px;
}
.news-head .more {
  /* float: right; */
  /* line-height: 40px; */
  position: absolute;
  right: 5px;
  top: 5px;
}

.news-head .more img {
  width: 65px;
  height: 20px;
  /* margin-right: 12px; */
  display: inline-block;
  border-radius: 15px;
  cursor: pointer;
}

/* 内容框样式 */
.articleframe .main {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #000;
  padding: 1em 0.5em;
}
.articleframe .main .main-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5em;
}
.articleframe .main .main-content {
  width: 100%;
  overflow: hidden;
}
.articleframe .frame {
  overflow: hidden;
}
.articleframe .frame .fieldset {
  margin-top: 1.5em;
}
.articleframe .frame .legend,
.articleframe .main .main-title > span:first-child {
  color: #ea5b0c;
  font-size: 14px;
  font-weight: 600;
}
.articleframe .main .main-title > span:last-child {
  color: #799ebe;
  font-size: 14px;
  font-weight: 600;
}
</style>